projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20eeb07
)
(redisplay_tool_bar): Change tool bar's height when
author
Gerd Moellmann
<gerd@gnu.org>
Wed, 17 Jan 2001 12:59:47 +0000
(12:59 +0000)
committer
Gerd Moellmann
<gerd@gnu.org>
Wed, 17 Jan 2001 12:59:47 +0000
(12:59 +0000)
not everything could be displayed.
src/xdisp.c
patch
|
blob
|
history
diff --git
a/src/xdisp.c
b/src/xdisp.c
index 62211e3890c3ee9112273e01124eca00a9b0d95e..15f950c5e778a246b155a63ea520aeb223ae73d2 100644
(file)
--- a/
src/xdisp.c
+++ b/
src/xdisp.c
@@
-7460,6
+7460,11
@@
redisplay_tool_bar (f)
if (auto_resize_tool_bars_p)
{
int nlines;
+
+ /* If we couldn't display everything, change the tool-bar's
+ height. */
+ if (IT_STRING_CHARPOS (it) < it.end_charpos)
+ change_height_p = 1;
/* If there are blank lines at the end, except for a partially
visible blank line at the end that is smaller than